<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="com.hrms.pojo.Admin"%>
<%String path = request.getContextPath();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>功能界面</title>
<link type="text/css" rel="stylesheet" href="../css/style.css">
</head>
<body background="../images/background.jpg" >
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center">
    
      <jsp:include page="top.jsp" flush="true" />   
	  
	     <table width="801" height="48" border="0" cellpadding="0" cellspacing="0" background="../images/center1.jpg">
        <tr>
          <td valign="top"><table width="494">
            <tr>
              <td width="45" height="25">&nbsp;</td>
              <td width="437" valign="bottom"><font color="#FF0000">首页面</font></td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="801" height="340" border="0" cellpadding="0" cellspacing="0" background="../images/center2.jpg">
        <tr>
          <td height="243"><table width="547" align="center">
            <tr align="center">
              <td width="261" height="100"><a  href="<%=path%>/emp/add_emp"><img src="../images/addEmployee.gif" width="175" height="33" border="0"></a></td>
              <td width="274"><a href="<%=path%>/train/trainLogin"><img src="../images/constituteTrain.gif" width="175" height="33" border="0"></a></td>
            </tr>
            <tr align="center">
              <td height="100"><a href="<%=request.getContextPath()%>/invitejob/add_invite"><img src="../images/addInvite.gif" width="175" height="33" border="0"></a></td>
              <td><a href="<%=path%>/cj/cjLogin"><img src="../images/constituteDeal.gif" width="175" height="33" border="0"></a></td>
            </tr>
            <tr align="center">
              <td height="100"><a href="<%=path%>/depart/add"><img src="../images/addDepartment.gif" width="175" height="33" border="0"></a></td>
              <td><a href="<%=path%>/pay/addPay"><img src="../images/constituteCompensation.gif" width="175" height="33" border="0"></a></td>
            </tr>
          </table></td>
        </tr>
      </table>
        <jsp:include page="down.jsp" flush="true" />
    </td>
  </tr>
</table>


<%-- 
	<div>
		<%
			Object obj = session.getAttribute("admin");
			Admin admin = (Admin) obj;
			if(admin.getAdminLevel().equals("1")) {
		%>
		<div>
			<h3>您好，系统管理员：<%=admin.getAdminName()%>,欢迎回来&nbsp;|&nbsp;<a href="<%=path%>/admin/admin_L1">系统管理员入口</a>&nbsp;|&nbsp;<a href="<%=path%>/admin/loginout">登出</a></h3>
		</div>
		<%}else { %>
		<div>
			<h3>您好，管理员：<%=admin.getAdminName()%>,欢迎回来&nbsp;|&nbsp;<a href="<%=path%>/admin/alt_pass">修改密码</a>&nbsp;|&nbsp;<a href="<%=path%>/admin/loginout">登出</a></h3>
		</div>
		<%} %>
		<div>
			<h1>
				<a href="<%=path%>/emp/add_emp">添加员工信息</a>
			</h1>
			<h1>
				<a href="<%=path%>/emp/list">查找所有员工信息</a>
			</h1>
			<h1>
				<a href="<%=path%>/emp/limit?showPage=1">分页查找员工信息</a>
			</h1>
			<h1>
				<a href="<%=path%>/depart/seldep">根据部门查找员工</a>
			</h1>
		</div>
		<div>
			<h1>
				<a href="<%=path%>/depart/add">添加部门信息</a>
			</h1>
			<h1>
				<a href="<%=path%>/depart/list_dep">查看所有部门</a>
			</h1>
		</div>
		<div>
			<h1>
				<a href="<%=request.getContextPath()%>/invitejob/add_invite">添加招聘信息记录</a>
			</h1>
			<h1>
				<a href="<%=request.getContextPath()%>/invitejob/selectAll">查找所有招聘信息记录</a>
			</h1>
			<h1>
				<a href="<%=request.getContextPath()%>/invitejob/limit?showPage=1">分页查找员工招聘信息记录</a>
			</h1>
		</div>
		<div id="payDiv">
			<h1>
				<a href="<%=path%>/pay/addPay">添加薪资信息</a>
			</h1>
			<h1>
				<a href="<%=path%>/pay/payList">查看薪资信息</a>
			</h1>
			<h1>
				<a href="<%=path%>/pay/limit?pageIndex=1">分页查看薪资信息</a>
			</h1>
		</div>
		<div>
			<h2>
				<a href="<%=path%>/train/trainLogin">员工培训功能模块</a>
			</h2>
		</div>
		<div>
			<h2>
				<a href="<%=path%>/cj/cjLogin">奖惩功能模块</a>
			</h2>
		</div>
	</div>
	--%>
</body>
</html>